OpenAI: preserve Chat Completions response_format when forwarding to Responses#1452
OpenAI: preserve Chat Completions response_format when forwarding to Responses#1452zhuhaow wants to merge 4 commits intoWei-Shaw:mainfrom
Conversation
bc9dfc8 to
5b86d08
Compare
|
Nice fix for the OpenAI path — we hit the same bug in production (langchain-openai 1.1.x One additional gap worth flagging: the Anthropic-platform path has the symmetric problem. After CC→Responses conversion, Anthropic shipped structured outputs GA on 2025-11 ( Docs: https://platform.claude.com/docs/en/build-with-claude/structured-outputs Happy to send a follow-up PR for the Anthropic path once this lands, or include it here if you'd prefer one unified PR — let me know which is easier to review. |
What changed
Why
Testing